package com.mxx.common.flow;

import java.util.Map;

/**
 * @author: mxx
 * @date: 2021/12/30
 * @time: 11:31
 * @Description: 描述信息
 */

public interface FlowManager<T extends AbstractFlowManager>  {

    void async(FlowEvent event, Map<String, Object> attr);

    void sync(FlowEvent event, Map<String, Object> attr);

    T register(FlowModule flowModule);
}
